package com.ftg.learn.chapter15.factorypattern;

import com.ftg.learn.chapter15.factorypattern.color.Color;
import com.ftg.learn.chapter15.factorypattern.color.Colorlv;
import com.ftg.learn.chapter15.factorypattern.shape.Shape;
import com.ftg.learn.chapter15.factorypattern.shape.ShapeLv;

/**
 * @author KangJx
 * @date 2021/7/28
 */
public abstract class AbstractFactory {

    /**
     * new shape new cat();
     * shapeFactory.getShape(shapelv lv)
     * @return
     */
    public abstract Shape getShapeFactory(ShapeLv lv);


    public abstract Color getColorFactory(Colorlv lv);

}
